package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcAppUserOldmanBind;

public interface OmcAppUserOldmanBindService extends IService<OmcAppUserOldmanBind> {

    /**
     * 用户解绑老人
     * @param: [oldmanId, loginAuthDto]
     * @return: java.lang.Integer
     */
    Integer userRemovesOldman(Long oldmanId, LoginAuthDto loginAuthDto);

    /**
     * 校验老人是否已经绑定过
     * @param: [appUserOldmanBind]
     * @return: com.csun.cmny.provider.model.domain.OmcAppUserOldmanBind
     */
    void checkOldmanHasBound(Long oldmanId , LoginAuthDto loginAuthDto);
}
